﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityModel;

namespace Business
{
    public class UserService : BusinessBase<USER, UserModel>
    {
        public List<USER> GetAllCustomer()
        {
            return this.retreiveHelper.GetRepositoryWithoutTracking<USER>().Where(t => t.USER_TYPE == 3).OrderBy(t => t.LOGIN_NAME).ToList();
        }
    }
}
